<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<base href="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/">
<link type="text/css" rel="stylesheet" href="static/css/style.css">
<script type="text/javascript" src="static/script/jquery-1.7.2.js"></script>
<%--
协议：<%=request.getScheme()%>,port：<%=request.getServerPort()%><br>
ip：<%=request.getServerName()%>,上下文路径：<%=request.getContextPath()%><br>
base路径：http://localhost:8080/bookstore<br>
动态获取base路径：<%=request.getScheme()%>://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>
通过EL动态获取base路径：${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}--%>
